package com.dylan.channel.v8.future;

import java.util.concurrent.TimeUnit;

public interface Future<V> extends java.util.concurrent.Future<V> {

    /***
     * @Author dylan
     * @Description: 执行成功
     * @Create: 2024/9/12 18:01
     */
    boolean isSuccess();

    boolean await(long timeout, TimeUnit unit) throws InterruptedException;

}
